package com.octopus.yangj.customized.dao;

import java.util.HashMap;
import java.util.Map;
import org.springframework.stereotype.Component;

import com.octopus.yangj.generated.dao.EmployeeRoleDao;

@Component
public class CustomizedEmployeeRoleDao extends EmployeeRoleDao{
	
	public void deleteByKey(Long roleId) {
		String str = "delete from user_role where roleid= :roleid";
		Map<String, Object> parms = new HashMap<String, Object>();
		parms.put("roleid", roleId);
		super.executeSQL(str, parms);
		super.deleteByKey(roleId);
	}

}
